# version 0.0.1
from random import random
import random

filename = 'abb'
with open(filename, 'a', encoding='utf-8') as file_obj:
    while (1):
        # 向文件中填充随机数直至硬盘容量极限
        file_obj.write(str(random.uniform(0, 10)))
